package org.vectrics.user;

import org.vectrics.common.db.RecordObject;

public class PersonPrivilegeGroupRole implements RecordObject {
	private Long id = null;
	private PersonPrivilegeGroupType personGroupType = null;
	private UserPrivilegeType userPrivilegeType = null;
	private boolean global = false;

	public PersonPrivilegeGroupRole() {
		super();
	}

	/**
	 * @return Returns the id.
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @param id The id to set.
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @return Returns the companyPersonGroupType.
	 */
	public PersonPrivilegeGroupType getPersonPrivilegeGroupType() {
		return this.personGroupType;
	}

	/**
	 * @param companyPersonGroupType The companyPersonGroupType to set.
	 */
	public void setPersonPrivilegeGroupType(
			PersonPrivilegeGroupType personGroupType) {
		this.personGroupType = personGroupType;
	}

	/**
	 * @return Returns the userPrivilegeType.
	 */
	public UserPrivilegeType getUserPrivilegeType() {
		return userPrivilegeType;
	}

	/**
	 * @param userPrivilegeType The userPrivilegeType to set.
	 */
	public void setUserPrivilegeType(UserPrivilegeType userPrivilegeType) {
		this.userPrivilegeType = userPrivilegeType;
	}

	/**
	 * @return Returns the global.
	 */
	public boolean getGlobal() {
		return global;
	}

	/**
	 * @param global The global to set.
	 */
	public void setGlobal(boolean global) {
		this.global = global;
	}



}
